﻿using UnityEngine;
using System.Collections;
namespace FSM
{
    public class OrNode:ListNode
    {
        protected override bool OnUpdate()
        {
            //base.OnUpdate();
            foreach(var it in list)
            {
                if(it.Update())
                {
                    return true;
                }
            }
            return false;
        }
    }
}
